module.exports = {
  title: "色彩趣图",
  description: "为所谓的想法，赋予实现",
  head: [
    // 注入到当前页面的 HTML <head> 中的标签
    ["link", { rel: "icon", href: "/logo.jpg" }], // 增加一个自定义的 favicon(网页标签的图标)
  ],
  base: "/", // 这是部署到github相关的配置
  markdown: {
    lineNumbers: false, // 代码块显示行号
  },
  themeConfig: {
    nav: [
      // 导航栏配置
      { text: "前端基础", link: "/pages/accumulate/" },
      { text: "服务环境搭建", link: "/pages/anyway/" },
      { text: "职场必备", link: "/pages/algorithm/" },
      { text: "关于我", link: "/pages/aboutme/" },
    ],
    sidebar: "auto", // 侧边栏配置
    sidebarDepth: 2, // 侧边栏显示2级
    sidebar: {
      "/pages/accumulate/": ["2022_3_11.md", "mypage0", "mypage1", "mypage2"],
      "/pages/algorithm/": ["2022_1_13.md", "2022_5_15.md"],
      "/pages/anyway/": [
        "linuxSetup.md",
        "2022-3-13.md",
        "2022_5_20.md",
        "2022-08-11.md",
        "2022-08-12.md"
      ],
    },
  },
  plugins: ["@vuepress/back-to-top"],
};
